package com.emmmya.ocs.modules.system.setting.entity;

import com.emmmya.harinCheck.annotation.Check;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: 邮件设置
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2020-05-13
 * @version: 1.0
 */
@Data
public class EmailProperties implements Serializable {

    @Check(name ="邮箱服务器")
    private String host;

    @Check(name ="SMTP服务器端口")
    private Integer port;

    @Check(name ="发送者邮箱账号")
    private String username;

    @Check(name ="邮箱授权码")
    private String password;

    @Check(name ="默认收件人")
    private String defualtEmailAddr;

//    @Check(name ="是否改变secrectKey")
//    private Boolean changed;
}
